/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package gov.decea.projects.sgq.dao;

import gov.decea.projects.sgq.exception.DAOException;
import gov.decea.projects.sgq.model.Aerodromo;
import java.util.List;

/**
 *
 * @author fernandofot
 */
public interface AerodromoDAO {

    public Long create(Aerodromo aerodromo) throws DAOException;

    public void update(Aerodromo aerodromo) throws DAOException;

    public void remove(Long id) throws DAOException;

    public Aerodromo find(Long id) throws DAOException;

    public Aerodromo findBySigla(String sigla) throws DAOException;

    public List<Aerodromo> findAll() throws DAOException;

    public List<Aerodromo> findAll(Long organizacaoId) throws DAOException;

    public List<Aerodromo> search(String term) throws DAOException;

}
